package com.wyw.design.model.learning.behavioral.command;

/**
 * @Title   更换电视频道命令
 * @Description
 * @Author Mr Wu yewen.wu.china@gmail.com
 * @Date 2023/4/17 16:27
 * Update History:
 * Author        Time            Content
 */
public class ChangeTvCommand implements Command {
    private TV tv;
    public ChangeTvCommand(TV tv) {
        this.tv = tv;
    }
    public void execute() {
        tv.change();
    }
}
